package csse3004.GD.PM;
/**
 * @author Mamdouh Alharbi- s4194298
 */
import org.springframework.web.servlet.mvc.SimpleFormController;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.view.RedirectView;

public class OpenCloseController extends SimpleFormController{

    @Override
    public ModelAndView onSubmit(Object command) {                
        return new ModelAndView(new RedirectView(getSuccessView()));
    }
    
}